package org.ehe.erp.domain.stock;

import org.ehe.common.mybatis.core.domain.BaseEntity2;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
/**
 * ERP 产品库存对象 erp_stock
 * @author :zhangnn
 * @className :ErpStock
 * @description: TODO
 * @date 2025-08-28 16:56:22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("erp_stock")
public class ErpStock  extends BaseEntity2 {
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 产品编号
     */
    private Long productId;

    /**
     * 仓库编号
     */
    private Long warehouseId;

    /**
     * 库存数量
     */
    private BigDecimal count;

    /**
     * 创建部门
     */
    private Long createDept;
}
